package com.fastadmin.task;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

@Component(value = "testTask")
@Slf4j
public class TestTask {

    public void run(){
        log.info("run 执行成功");
    }
    public void run1(String url){
        log.info(url);
    }

    public void run2(){
        log.info("run2 执行成功");
    }
}
